package com.kyf.config.model;

import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

public class UserServiceImpl {

	private StudentServiceImpl studentService;

	public StudentServiceImpl getStudentService() {
		return studentService;
	}

	@Resource(name = "studentService")
	public void setStudentService(StudentServiceImpl studentService) {
		this.studentService = studentService;
	}

	public void say() {
		System.out.println("user!!!");
	}
}
